/**
 * A page is just a component, might take this out in the future
 */

import React from 'react';
import AMR from 'amazeui-react';


/* [COMPONENTS] */<% if (pageComponents) {
	underscore.each(pageComponents , function(path , name) { %>
import <%= name %> from '<%= path %>';
<% }); } %>/* [COMPONENTS] */

export default class <%= pageName %> extends React.Component {
  render() {
    return (
      <div className="<%= pageName %>">
        <AMR.Container>
			<% if (pageComponent) { %>
			<%- pageComponent %>
			<% } else { %>
          	<h1><%= pageName %></h1>
		  	<% } %>
        </AMR.Container>
      </div>
    );
  }
}
